.music-spectrun {
  display: flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  gap: 20px 13px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  .music-spectrum-item {
    font-weight: 700;
    font-size: 1.3rem;
    font-family: HFSandBeach-2;
    animation: music-spectrum-item-show-anim 0.5s ease-in-out;
    .special-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      .spot {
        display: inline-block;
        width: 4px;
        height: 4px;
        margin: 1px;
        border-radius: 50%;
        background-color: #000;
        // margin-right: 5px;
        transition: 0.3s;
      }
      .value {
        font-size: 1rem;
        line-height: 1.2;
        font-family: HFSandBeach-2;
      }
      .spot-hide {
        user-select: none;
        opacity: 0;
      }
    }
    .special-box-list {
      display: flex;
      align-items: center;
      flex-direction: row;
      gap: 2px;
    }
    .special-box-list::after {
      transform: translateY(-3px) scaleY(1.1);
      content: ']';
      font-size: 2.5rem;
      font-weight: 100;
      font-family: Arial, Helvetica, sans-serif;
    }
    .special-box-list::before {
      transform: translateY(-3px) scaleY(1.1);
      content: '[';
      font-size: 2.5rem;
      font-weight: 100;
      font-family: Arial, Helvetica, sans-serif;
    }
  }
  @keyframes music-spectrum-item-show-anim {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .music-spectrum-item-active {
    color: var(--ui-text-2);
    transition: 0.3s;
    animation: music-spectrum-item-active-show-anim 0.5s ease-in-out;
    .special-box {
      .spot {
        background-color: var(--ui-text-2);
      }
    }
  }
  @keyframes music-spectrum-item-active-show-anim {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  .music-spectrum-item-space {
    height: 20px;
    max-width: 100px;
  }
  .music-spectrum-item-wapper {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}
.music-spectrun-box {
  min-height: 400px;
  width: 80vw;
  position: relative;
  padding: 10px;
  .top-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    .clear {
      background-color: #e8e8e8;
      padding: 5px 15px;
      border-radius: 5px;
      cursor: pointer;
      user-select: none;
      transition: 0.3s;
      img {
        width: 20px;
        height: 20px;
      }
    }
    .clear:hover {
      background-color: #d8d8d8;
    }
    .clear:active {
      transform: scale(0.9);
      background-color: #d8d8d8;
    }
  }
  .state {
    width: fit-content;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #e8e8e8;
    user-select: none;
    margin-bottom: 10px;
    .state-item {
      transition: 0.3s;
      padding: 5px 10px;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 5px;
      cursor: pointer;
    }
    .state-item-active {
      // background-color: #000;
      // color: white;
      color: var(--ui-text);
      background-color: var(--ui-backgound);
    }
    .problem-icon {
      width: 20px;
      height: 20px;
      margin: 0 10px;
      cursor: pointer;
      transition: 0.3s;
    }
    .problem-icon:hover {
      transform: scale(1.1);
    }
    .problem-icon:active {
      transform: scale(0.9);
    }
  }
  .music-spectrun-empty-box {
    position: absolute;
    left: 50%;

    top: 50%;
    transform: translate(-50%, -50%);
    .music-spectrun-empty {
      display: block;
      width: 150px;
      margin: 10px auto;
      user-select: none;
    }
    .music-spectrun-empty-text {
      text-align: center;
      color: #8e8e8e8e;
      // margin-bottom: 40px;
    }
  }

  .page-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: auto;
    margin-left: auto;
    user-select: none;
    width: fit-content;
    position: absolute;
    bottom: 5px;
    right: 10px;
    .btn {
      cursor: pointer;
      background-color: transparent;
      img {
        width: 20px;
        height: 20px;
      }
    }
  }
  .tips-box {
    position: absolute;
    font-size: 0.8rem;
    color: #8e8e8eec;
    bottom: 5px;
    left: 10px;
    display: flex;
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .music-spectrun-box {
    width: 100%;
    padding: 0;
  }
}
